package com.hirsi.common.module.auth.enums;

import com.hirsi.common.core.enums.IVoDataValidEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum AuthValidEnum implements IVoDataValidEnum {

    CAPTCHA_INVALID("captcha", "图形验证码已失效"),
    CAPTCHA_ERROR("captcha", "图形验证码错误"),
    USER_NOT_EXIST("account", "用户不存在"),
    PASSWORD_ERROR("password", "密码错误"),
    PHONE_NOT_EXIST("phone", "手机号码不存在"),
    CODE_INVALID("code", "短信验证码已失效"),
    CODE_ERROR("code", "短信验证码错误");

    private String field;

    private String msg;
}
